package com.huangwei.model;

import org.springframework.stereotype.Component;

@Component
public class CarBand {
    private Integer carBandId;
    private String carBandName;

    @Override
    public String toString() {
        return "CarBands{" +
                "carBandId=" + carBandId +
                ", carBandName='" + carBandName + '\'' +
                '}';
    }

    public CarBand(Integer carBandId, String carBandName) {
        this.carBandId = carBandId;
        this.carBandName = carBandName;
    }

    public CarBand() {
    }

    public Integer getCarBandId() {
        return carBandId;
    }

    public void setCarBandId(Integer carBandId) {
        this.carBandId = carBandId;
    }

    public String getCarBandName() {
        return carBandName;
    }

    public void setCarBandName(String carBandName) {
        this.carBandName = carBandName;
    }
}
